﻿using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;
using Volo.Abp.Modularity;

namespace Loong.Admin.AspNetCore
{
    [DependsOn(
        typeof(AbpAspNetCoreMvcModule),
        typeof(AdminCoreModule)
        )]
    public class AdminAspNetCoreModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            context.Services.AddOptions<MvcOptions>().Configure(mvcOptions =>
            {
                mvcOptions.AddActionFilters();
            });
        }
    }
}
